home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak Vol A-4
/
(Vol A-4) Vol. A4.iso
/
Games
/
puppy_red.swf
/
scripts
/
frame_14
/
PlaceObject2_384_567
/
CLIPACTIONRECORD onClipEvent(load).as
< prev
Wrap
Text File
|
2008-03-11
|
858b
|
29 lines
onClipEvent(load){
function scoreView()
{
var s10 = Math.floor(_root.score / 1000000000);
var s9 = Math.floor(_root.score % 1000000000 / 100000000);
var s8 = Math.floor(_root.score % 100000000 / 10000000);
var s7 = Math.floor(_root.score % 10000000 / 1000000);
var s6 = Math.floor(_root.score % 1000000 / 100000);
var s5 = Math.floor(_root.score % 100000 / 10000);
var s4 = Math.floor(_root.score % 10000 / 1000);
var s3 = Math.floor(_root.score % 1000 / 100);
var s2 = Math.floor(_root.score % 100 / 10);
var s1 = Math.floor(_root.score % 10);
i = 1;
while(i <= 10)
{
this["n" + i].gotoAndStop(eval("s" + i) + 1);
i++;
}
}
i = 1;
while(i <= 10)
{
this["n" + i].stop();
i++;
}
scoreView();
}